<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta content="IE=8" http-equiv="X-UA-Compatible" />
    <title>栏目授权--选择用户</title>
    {$QPath}
    <link rel="stylesheet" type="text/css" href="__TMPL__../Admin/Public/base.css" />
    <script type="text/javascript" src="__TMPL__../Admin/Public/mootools.js"></script>
    <script type="text/javascript" src="__TMPL__../Admin/Public/base.js"></script>
</head>
<body>
    <div id="container">
        <table class="tabmenu" cellspacing="0">
            <tbody>
                <tr>
                    <td class="wedge">&nbsp;</td>
                    <td class="wmenu"><a href="__URL__/index">栏目列表</a></td>
                    <td class="wmenu"><a href="__URL__/add">添加栏目</a></td>
                    <td class="wmenu here">栏目授权</td>
                    <td>&nbsp;</td>
                </tr>
            </tbody>
        </table>
        <div class="main">
            <p class="editpage finder">
                选择授权用户
            </p>
            <ul class="fnc">
                <li><button type="button" class="btn" onclick="doAction('allocate')">下一步</button></li>
            </ul>
            <form method="post" action="__URL__">
                <input type="hidden" name="a">
                <input type="hidden" name="step" value="chooseuser">
                <table class="data">
                    <thead>
                        <tr>
                            <th class="cbCell"><input type="checkbox" id="effectAll" /></th>
                            <th>用户名</th>
                            <th>真实姓名</th>
                        </tr>
                    </thead>
                    <tbody class="grid">
                        <present name="users">
                            <iterate name="users" id="vo">
                                <tr>
                                    <td><input type="checkbox" name="sid[]" value="{$vo['id']},{$vo['account']}"/></td>
                                    <td>{$vo['account']}</td>
                                    <td>{$vo['realname']}</td>
                                </tr>
                            </iterate>
                        <else/>
                            <tr class="notfound">
                                <td colspan="20">没有记录</td>
                            </tr>
                        </present>
                    </tbody>
                </table>
            </form>
            <ul class="fnc">
                <li><button type="button" class="btn" onclick="doAction('allocate')">下一步</button></li>
            </ul>
        </div>
    </div>
</body>
</html>